

/**
 * summary:生产班组宏程序规则导出
 * description:生产班组宏程序规则导出
 *  @param request  name:[request]   in:[query]   description:[the request]   required:[false]  @param response  name:[response]   in:[query]   description:[the response]   required:[false] 
 *
 * */
export const $DownLoadExcelUsingGET=(request: unknown, response: unknown): Promise<MesApiRes<unknown>>  => $axios.get(`/mes/basic/api/v1/prClassProgramRule/excel/downLoad?request=${request}response=${response}`)


/**
 * summary:根据员工编号查询绑定的技能信息
 * description:根据员工编号查询绑定的技能信息
 *  @param empNo  name:[empNo]   in:[query]   description:[员工编号]   required:[true]   style:[form]   allowReserved:[true]  type:string
 *
 * */
export const $GetByEmpNoUsingGET=(empNo: string): Promise<MesApiRes<unknown>>  => $axios.get(`/mes/basic/api/v1/poUserBoundSkill/getByEmpNo?empNo=${empNo}`)
 

/**
 * summary:根据技能编号分页查询员工信息
 * description:根据技能编号分页查询员工信息
 *  undefined
 *
 * */
export const $PageBySkillNoUsingPOST=(): Promise<MesApiRes<PoUserBoundSkillPO>>  => $axios.post(`/mes/basic/api/v1/poUserBoundSkill/pageBySkillNo`)


/**
 * summary:保存休息日
 * description:保存休息日
 *  undefined
 *
 * */
export const $SaveRestDayUsingPOST=(): Promise<MesApiRes<never>>  => $axios.post(`/mes/basic/api/v1/poCalendar/add`)
 

/**
 * summary:根据当月查询休息日
 * description:根据当月查询休息日
 *  @param centerNo  name:[centerNo]   in:[query]   description:[中心编号]   required:[true]   style:[form]   allowReserved:[true]  type:string @param date  name:[date]   in:[query]   description:[当前年月]   required:[true]   style:[form]   allowReserved:[true]  type:string
 *
 * */
export const $GetByYearAndMonthUsingGET=(centerNo: string, date: string): Promise<MesApiRes<unknown>>  => $axios.get(`/mes/basic/api/v1/poCalendar/getByYearMonth?centerNo=${centerNo}date=${date}`)
 

/**
 * summary:取消当日休息日
 * description:取消当日休息日
 *  @param id  name:[id]   in:[query]   description:[id]   required:[true]   style:[form]   allowReserved:[true]  type:unknown
 *
 * */
export const $RemoveRestDayUsingDELETE=(id: unknown): Promise<MesApiRes<never>>  => $axios.delete(`/mes/basic/api/v1/poCalendar/remove?id=${id}`)


/**
 * summary:生效
 * description:生效多个jobCode用 , 隔开
 *  @param jobCode  name:[jobCode]   in:[path]   description:[the job code]   required:[true]   style:[simple]   allowReserved:[false]  type:string
 *
 * */
export const $ActivateUsingPUT=(jobCode: string): Promise<MesApiRes<never>>  => $axios.put(`/mes/basic/api/v1/peJob/activate/${jobCode}`)
 

/**
 * summary:新增
 * description:新增
 *  undefined
 *
 * */
export const $AddUsingPOST=(): Promise<MesApiRes<never>>  => $axios.post(`/mes/basic/api/v1/peJob/add`)
 

/**
 * summary:失效
 * description:失效
 *  @param jobCode  name:[jobCode]   in:[path]   description:[the job code]   required:[true]   style:[simple]   allowReserved:[false]  type:string
 *
 * */
export const $DeactivateUsingPUT=(jobCode: string): Promise<MesApiRes<never>>  => $axios.put(`/mes/basic/api/v1/peJob/deactivate/${jobCode}`)
 

/**
 * summary:修改作业编号
 * description:修改作业编号
 *  @param PeJobPO  name:[PeJobPO]   in:[query]   description:[作业编号]   required:[false] 
 *
 * */
export const $FromErpUpdateUsingPUT=(PeJobPO: unknown): Promise<MesApiRes<never>>  => $axios.put(`/mes/basic/api/v1/peJob/fromErp/update?PeJobPO=${PeJobPO}`)
 

/**
 * summary:分页查询
 * description:分页查询
 *  undefined
 *
 * */
export const $PageUsingPOST=(): Promise<MesApiRes<工艺基础信息>>  => $axios.post(`/mes/basic/api/v1/peJob/page`)
 

/**
 * summary:标准工时查看
 * description:标准工时查看
 *  @param jobCode  name:[jobCode]   in:[query]   description:[the job code]   required:[true]   style:[form]   allowReserved:[true]  type:string
 *
 * */
export const $ListStandardManHourUsingGET=(jobCode: string): Promise<MesApiRes<ListResponse>>  => $axios.get(`/mes/basic/api/v1/peJob/standardManHour/list?jobCode=${jobCode}`)
 

/**
 * summary:修改
 * description:修改
 *  undefined
 *
 * */
export const $UpdateUsingPUT=(): Promise<MesApiRes<never>>  => $axios.put(`/mes/basic/api/v1/peJob/update`)
 

/**
 * summary:根据工艺代码查询
 * description:根据工艺代码查询
 *  @param jobCode  name:[jobCode]   in:[path]   description:[the job code]   required:[true]   style:[simple]   allowReserved:[false]  type:string
 *
 * */
export const $GetUsingGET=(jobCode: string): Promise<MesApiRes<工艺基础信息>>  => $axios.get(`/mes/basic/api/v1/peJob/${jobCode}`)


/**
 * summary:绑定
 * description:绑定
 *  undefined
 *
 * */
export const $BindUsingPOST=(): Promise<MesApiRes<never>>  => $axios.post(`/mes/basic/api/v1/peJobBoundSkill/bind`)
 

/**
 * summary:根据工艺代码查询列表
 * description:根据工艺代码查询列表
 *  @param jobCode  name:[jobCode]   in:[query]   description:[the job code]   required:[true]   style:[form]   allowReserved:[true]  type:string
 *
 * */
export const $ListByJobCodeUsingGET=(jobCode: string): Promise<MesApiRes<工艺技能绑定信息>>  => $axios.get(`/mes/basic/api/v1/peJobBoundSkill/list?jobCode=${jobCode}`)
 

/**
 * summary:解绑
 * description:解绑多个skillNo用 , 隔开
 *  @param jobCode  name:[jobCode]   in:[query]   description:[the job code]   required:[true]   style:[form]   allowReserved:[true]  type:string @param skillNo  name:[skillNo]   in:[query]   description:[the skill no]   required:[true]   style:[form]   allowReserved:[true]  type:string
 *
 * */
export const $UnbindUsingDELETE=(jobCode: string, skillNo: string): Promise<MesApiRes<never>>  => $axios.delete(`/mes/basic/api/v1/peJobBoundSkill/unbind?jobCode=${jobCode}skillNo=${skillNo}`)


/**
 * summary:fromErpUpdate
 * description:undefined
 *  undefined
 *
 * */
export const $FromErpUpdateUsingPUT_1=(): Promise<MesApiRes<never>>  => $axios.put(`/mes/basic/api/v1/peJobStandardTime/fromErp/update`)


/**
 * summary:新增
 * description:新增
 *  undefined
 *
 * */
export const $AddUsingPOST_1=(): Promise<MesApiRes<never>>  => $axios.post(`/mes/basic/api/v1/peSkill/add`)
 

/**
 * summary:根据id查询
 * description:根据id查询
 *  @param id  name:[id]   in:[query]   description:[id]   required:[false]   style:[form]   allowReserved:[true]  type:unknown
 *
 * */
export const $GetByIdUsingGET=(id: unknown): Promise<MesApiRes<PeSkillPO>>  => $axios.get(`/mes/basic/api/v1/peSkill/getById?id=${id}`)
 

/**
 * summary:分页查询技能信息
 * description:分页查询技能信息
 *  undefined
 *
 * */
export const $PageUsingPOST_1=(): Promise<MesApiRes<PeSkillPO>>  => $axios.post(`/mes/basic/api/v1/peSkill/page`)
 

/**
 * summary:修改
 * description:修改
 *  undefined
 *
 * */
export const $UpdateUsingPUT_1=(): Promise<MesApiRes<never>>  => $axios.put(`/mes/basic/api/v1/peSkill/update`)
 

/**
 * summary:生效
 * description:生效
 *  @param id  name:[id]   in:[path]   description:[id]   required:[true]   style:[simple]   allowReserved:[false]  type:string
 *
 * */
export const $ActivateUsingPUT_1=(id: string): Promise<MesApiRes<never>>  => $axios.put(`/mes/basic/api/v1/peSkill/${id}/activate`)
 

/**
 * summary:失效
 * description:失效
 *  @param id  name:[id]   in:[path]   description:[id]   required:[true]   style:[simple]   allowReserved:[false]  type:unknown
 *
 * */
export const $DeactivateUsingPUT_1=(id: unknown): Promise<MesApiRes<never>>  => $axios.put(`/mes/basic/api/v1/peSkill/${id}/deactivate`)


/**
 * summary:新增生产班制
 * description:新增生产班制
 *  undefined
 *
 * */
export const $AddUsingPOST_3=(): Promise<MesApiRes<never>>  => $axios.post(`/mes/basic/api/v1/poShift/add`)
 

/**
 * summary:根据id查询生产班制
 * description:根据id查询生产班制
 *  @param id  name:[id]   in:[query]   description:[id]   required:[false]   style:[form]   allowReserved:[true]  type:unknown
 *
 * */
export const $GetByIdUsingGET_3=(id: unknown): Promise<MesApiRes<PoShiftPO>>  => $axios.get(`/mes/basic/api/v1/poShift/getById?id=${id}`)
 

/**
 * summary:班制下拉框
 * description:查询所有班制，作业类别（技能）信息设置绑定班制需要绑定 目前做成下拉框。数据量大可能做成弹出框 查询字段只有shiftNo shiftName 返回Map
 *  undefined
 *
 * */
export const $ListUsingGET=(): Promise<MesApiRes<Map>>  => $axios.get(`/mes/basic/api/v1/poShift/list`)
 

/**
 * summary:分页查询生产班制信息
 * description:分页查询生产班制信息
 *  undefined
 *
 * */
export const $PageUsingPOST_3=(): Promise<MesApiRes<PoShiftPO>>  => $axios.post(`/mes/basic/api/v1/poShift/page`)
 

/**
 * summary:修改生产班制
 * description:修改生产班制
 *  undefined
 *
 * */
export const $UpdateUsingPUT_3=(): Promise<MesApiRes<never>>  => $axios.put(`/mes/basic/api/v1/poShift/update`)


/**
 * summary:生产班组绑定作业类别
 * description:生产班组绑定作业类别
 *  @param classNo  name:[classNo]   in:[path]   description:[生产班组编号]   required:[true]   style:[simple]   allowReserved:[false]  type:string
 *
 * */
export const $BindUsingPUT=(classNo: string): Promise<MesApiRes<never>>  => $axios.put(`/mes/basic/api/v1/prClassJobRule/bind/${classNo}`)
 

/**
 * summary:根据班组+作业类别查询列表
 * description:根据班组+作业类别查询列表
 *  @param classNo  name:[classNo]   in:[query]   description:[the class no]   required:[true]   style:[form]   allowReserved:[true]  type:string @param jobCategoryNo  name:[jobCategoryNo]   in:[query]   description:[the job category no]   required:[true]   style:[form]   allowReserved:[true]  type:string
 *
 * */
export const $ListByClassAndJobCategoryUsingGET=(classNo: string, jobCategoryNo: string): Promise<MesApiRes<PrClassJobRulePO>>  => $axios.get(`/mes/basic/api/v1/prClassJobRule/listByClassAndJobCategory?classNo=${classNo}jobCategoryNo=${jobCategoryNo}`)
 

/**
 * summary:根据班组classNo分页查询
 * description:根据班组classNo分页查询
 *  undefined
 *
 * */
export const $PageUsingPOST_4=(): Promise<MesApiRes<PrClassJobRulePO>>  => $axios.post(`/mes/basic/api/v1/prClassJobRule/page/pageByClassNo`)
 

/**
 * summary:作业类别移除
 * description:作业类别移除
 *  @param classNo  name:[classNo]   in:[query]   description:[the class no]   required:[true]   style:[form]   allowReserved:[true]  type:string @param jobCategoryNo  name:[jobCategoryNo]   in:[query]   description:[the job category no]   required:[true]   style:[form]   allowReserved:[true]  type:string
 *
 * */
export const $UnbindUsingDELETE_1=(classNo: string, jobCategoryNo: string): Promise<MesApiRes<never>>  => $axios.delete(`/mes/basic/api/v1/prClassJobRule/unbind?classNo=${classNo}jobCategoryNo=${jobCategoryNo}`)
 

/**
 * summary:修改作业规则
 * description:修改作业规则
 *  undefined
 *
 * */
export const $UpdateUsingPUT_4=(): Promise<MesApiRes<never>>  => $axios.put(`/mes/basic/api/v1/prClassJobRule/update`)


/**
 * summary:新增生产班组
 * description:修改生产班组
 *  undefined
 *
 * */
export const $AddUsingPOST_2=(): Promise<MesApiRes<never>>  => $axios.post(`/mes/basic/api/v1/poClass/add`)
 

/**
 * summary:修改生产班组
 * description:修改生产班组
 *  undefined
 *
 * */
export const $FromErpUpdateUsingPUT_2=(): Promise<MesApiRes<never>>  => $axios.put(`/mes/basic/api/v1/poClass/fromErp/update`)
 

/**
 * summary:根据id查询生产班组
 * description:根据id查询生产班组
 *  @param id  name:[id]   in:[path]   description:[id]   required:[true]   style:[simple]   allowReserved:[false]  type:unknown
 *
 * */
export const $GetByIdUsingGET_2=(id: unknown): Promise<MesApiRes<PoClassPO>>  => $axios.get(`/mes/basic/api/v1/poClass/getById`)
 

/**
 * summary:分页查询生产班组信息
 * description:分页查询生产班组信息
 *  undefined
 *
 * */
export const $PageUsingPOST_2=(): Promise<MesApiRes<PoClassPO>>  => $axios.post(`/mes/basic/api/v1/poClass/page`)
 

/**
 * summary:修改生产班组
 * description:修改生产班组
 *  undefined
 *
 * */
export const $UpdateUsingPUT_2=(): Promise<MesApiRes<never>>  => $axios.put(`/mes/basic/api/v1/poClass/update`)
 

/**
 * summary:生效
 * description:生效
 *  @param id  name:[id]   in:[path]   description:[id]   required:[true]   style:[simple]   allowReserved:[false]  type:unknown
 *
 * */
export const $ActivateUsingPUT_3=(id: unknown): Promise<MesApiRes<never>>  => $axios.put(`/mes/basic/api/v1/poClass/${id}/activate`)
 

/**
 * summary:失效
 * description:失效
 *  @param id  name:[id]   in:[path]   description:[id]   required:[true]   style:[simple]   allowReserved:[false]  type:unknown
 *
 * */
export const $DeactivateUsingPUT_3=(id: unknown): Promise<MesApiRes<never>>  => $axios.put(`/mes/basic/api/v1/poClass/${id}/deactivate`)


/**
 * summary:生效
 * description:生效
 *  @param id  name:[id]   in:[path]   description:[the id]   required:[true]   style:[simple]   allowReserved:[false]  type:unknown
 *
 * */
export const $ActivateUsingPUT_4=(id: unknown): Promise<MesApiRes<never>>  => $axios.put(`/mes/basic/api/v1/prClassProgramRule/activate/${id}`)
 

/**
 * summary:失效
 * description:失效
 *  @param id  name:[id]   in:[path]   description:[the id]   required:[true]   style:[simple]   allowReserved:[false]  type:unknown
 *
 * */
export const $DeactivateUsingPUT_4=(id: unknown): Promise<MesApiRes<never>>  => $axios.put(`/mes/basic/api/v1/prClassProgramRule/deactivate/${id}`)
 

/**
 * summary:导入
 * description:导入
 *  @param request  name:[request]   in:[query]   description:[the request]   required:[false] 
 *
 * */
export const $ExcelSaveUsingPOST=(request: unknown): Promise<MesApiRes<never>>  => $axios.post(`/mes/basic/api/v1/prClassProgramRule/excel/save?request=${request}`)
 

/**
 * summary:分页查询
 * description:分页查询
 *  undefined
 *
 * */
export const $PageUsingPOST_5=(): Promise<MesApiRes<生产班组宏程序设置信息（工序计划规则信息）>>  => $axios.post(`/mes/basic/api/v1/prClassProgramRule/page`)
 

/**
 * summary:根据业务主键查询 业务主键 : classNo + jobCode + productCategoryNo
 * description:根据业务主键查询 业务主键 : classNo + jobCode + productCategoryNo
 *  @param classNo  name:[classNo]   in:[path]   description:[the class no]   required:[true]   style:[simple]   allowReserved:[false]  type:string @param jobCode  name:[jobCode]   in:[path]   description:[the job code]   required:[true]   style:[simple]   allowReserved:[false]  type:string @param productCategoryNo  name:[productCategoryNo]   in:[path]   description:[the product category no]   required:[true]   style:[simple]   allowReserved:[false]  type:string
 *
 * */
export const $GetByUsingGET=(classNo: string, jobCode: string, productCategoryNo: string): Promise<MesApiRes<生产班组宏程序设置信息（工序计划规则信息）>>  => $axios.get(`/mes/basic/api/v1/prClassProgramRule/${classNo}/${jobCode}/${productCategoryNo}`)


/**
 * summary:新增部门信息
 * description:新增部门信息
 *  undefined
 *
 * */
export const $AddDepartmentUsingPOST=(): Promise<MesApiRes<BusinessResponse>>  => $axios.post(`/mes/basic/api/v1/poCenterDepartment/add`)
 

/**
 * summary:分页查询部门信息
 * description:分页查询部门信息
 *  undefined
 *
 * */
export const $GetDepartmentPageUsingPOST=(): Promise<MesApiRes<BusinessResponse>>  => $axios.post(`/mes/basic/api/v1/poCenterDepartment/page`)
 

/**
 * summary:修改部门信息
 * description:修改部门信息
 *  undefined
 *
 * */
export const $UpdateDepartmentUsingPUT=(): Promise<MesApiRes<BusinessResponse>>  => $axios.put(`/mes/basic/api/v1/poCenterDepartment/update`)


/**
 * summary:新增生产管理中心
 * description:新增生产管理中心
 *  undefined
 *
 * */
export const $AddPoCenterUsingPOST=(): Promise<MesApiRes<BusinessResponse>>  => $axios.post(`/mes/basic/api/v1/poCenter/add`)
 

/**
 * summary:根据id查看生产管理中心
 * description:根据id查看生产管理中心
 *  @param id  name:[id]   in:[query]   description:[id]   required:[false]   style:[form]   allowReserved:[true]  type:unknown
 *
 * */
export const $GetByIdUsingGET_1=(id: unknown): Promise<MesApiRes<PoCenterPO>>  => $axios.get(`/mes/basic/api/v1/poCenter/getById?id=${id}`)
 

/**
 * summary:分页查询生产管理中心
 * description:分页查询生产管理中心
 *  undefined
 *
 * */
export const $GetPoCenterPageUsingPOST=(): Promise<MesApiRes<PoCenterPO>>  => $axios.post(`/mes/basic/api/v1/poCenter/page`)
 

/**
 * summary:修改生产管理中心
 * description:修改生产管理中心
 *  undefined
 *
 * */
export const $UpdatePoCenterUsingPUT=(): Promise<MesApiRes<BusinessResponse>>  => $axios.put(`/mes/basic/api/v1/poCenter/update`)
 

/**
 * summary:生效
 * description:生效
 *  @param id  name:[id]   in:[path]   description:[id]   required:[true]   style:[simple]   allowReserved:[false]  type:unknown
 *
 * */
export const $ActivateUsingPUT_2=(id: unknown): Promise<MesApiRes<never>>  => $axios.put(`/mes/basic/api/v1/poCenter/${id}/activate`)
 

/**
 * summary:失效
 * description:失效
 *  @param id  name:[id]   in:[path]   description:[id]   required:[true]   style:[simple]   allowReserved:[false]  type:unknown
 *
 * */
export const $DeactivateUsingPUT_2=(id: unknown): Promise<MesApiRes<never>>  => $axios.put(`/mes/basic/api/v1/poCenter/${id}/deactivate`)
